package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 设备维修记录表
 * @Author: jeecg-boot
 * @Date:   2024-04-29
 * @Version: V1.0
 */
@Data
@TableName("zk_equipment_service_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="zk_equipment_service_detail对象", description="设备维修记录表")
public class ZkEquipmentServiceDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**公司编号*/
	@Excel(name = "公司编号", width = 15)
    @ApiModelProperty(value = "公司编号")
    private java.lang.String companyNumber;
	/**设备名称*/
	@Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private java.lang.String equipmentName;
	/**维修部门*/
	@Excel(name = "维修部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "维修部门")
    private java.lang.String serviceDpt;
	/**维修人员*/
	@Excel(name = "维修人员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "维修人员")
    private java.lang.String servicePersonnel;
	/**审核人员*/
	@Excel(name = "审核人员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "审核人员")
    private java.lang.String audPersonnel;
	/**维修状态*/
	@Excel(name = "维修状态", width = 15)
    @ApiModelProperty(value = "维修状态")
    private java.lang.String serviceStatus;
	/**维修内容*/
	@Excel(name = "维修内容", width = 15)
    @ApiModelProperty(value = "维修内容")
    private java.lang.String serviceContent;
	/**维修照片*/
	@Excel(name = "维修照片", width = 15)
    @ApiModelProperty(value = "维修照片")
    private java.lang.String servicePhoto;
    /**维修人员ID*/
    @Excel(name = "维修人员ID", width = 15)
    @ApiModelProperty(value = "维修人员ID")
    private java.lang.String servicePersonnelId;
    /**审核人员ID*/
    @Excel(name = "审核人员ID", width = 15)
    @ApiModelProperty(value = "审核人员ID")
    private java.lang.String audPersonnelId;
    /**是否抄送*/
    @Excel(name = "是否抄送", width = 15)
    @ApiModelProperty(value = "是否抄送")
    private Integer if_Cc;
    /**类型*/
    @Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
    private java.lang.String type;
    /**抄送人员ID*/
    @Excel(name = "抄送人员ID", width = 15)
    @ApiModelProperty(value = "抄送人员ID")
    private java.lang.String ccPersonnelId;
    /**抄送人员名称*/
    @Excel(name = "抄送人员名称", width = 15)
    @ApiModelProperty(value = "抄送人员名称")
    private java.lang.String ccPersonnelName;
}
